import Vue from 'vue'
import * as echarts from 'echarts'

import ECharts from 'vue-echarts'

Vue.prototype.$echarts = echarts // 让所有组件都能看到echarts
Vue.component('v-chart', ECharts) // 注册vue echarts组件
